{layout name="../common/master"/}
<div id="right">



 <div class="panel panel-default col-lg-4">
        <div class="panel-heading">
            <h3 class="panel-title">借款信息</h3>
        </div>
        <div class="panel-body">
            <table class="table table-hover table-bordered">
                <tbody>
                <tr>
                    <th>id</th>
                    <td>{$userLoan['id']}</td>
                </tr>
                <tr>
                    <th>用户ID</th>
                    <td>{$userLoan['userID']}</td>
                </tr>
                <tr>
                    <th>用户电话</th>
                    <td>{$userLoan['userPhone']}</td>
                </tr>
                <tr>
                    <th>产品ID</th>
                    <td>{$userLoan['productID']}</td>
                </tr>
                <tr>
                    <th>借款金额</th>
                    <td>{$userLoan['loanAmount']}</td>
                </tr>
                <tr>
                    <th>借款时长</th>
                    <td>{$userLoan['loanRepayPeriod']}</td>
                </tr>
                <tr>
                    <th>管理费</th>
                    <td>{$userLoan['managementFee']}</td>
                </tr>
                <tr>
                    <th>年利率</th>
                    <td>{$userLoan['loanInterestRate']}</td>
                </tr>
                <tr>
                    <th>实际借款金额</th>
                    <td>{$userLoan['actualAmount']}</td>
                </tr>
                <tr>
                    <th>使用的优惠券ID</th>
                    <td>{$userLoan['couponID']}</td>
                </tr>
                <tr>
                    <th>用户借款状态</th>
                    <td>{$userLoan['userStatus']}</td>
                </tr>
                <tr>
                    <th>用户借款交易状态</th>
                    <td>
                        {if condition="$userLoan['transactionStatus'] eq 0"}
                        <span style="color: orangered">未产生交易</span>
                        {elseif condition="$userLoan['transactionStatus'] eq 1"/}
                        <span style="color: green">交易成功</span>
                        {elseif condition="$userLoan['transactionStatus'] eq 2"/}
                        <span style="color: red">交易不成功</span>
                        {elseif condition="$userLoan['transactionStatus'] eq 3"/}
                        <span style="color: red">交易中</span>
                        {/if}
                    </td>
                </tr>
                <tr>
                    <th>审核ID</th>
                    <td>{$userLoan['auditProcessID']}</td>
                </tr>
                <tr>
                    <th>审核状态</th>
                    <td>
                        {if condition="$userLoan['auditProcessStatus'] eq 0"}
                        <span style="color: orangered">待审核</span>
                        {elseif condition="$userLoan['auditProcessStatus'] eq 1"/}
                        <span style="color: green">审核通过</span>
                        {elseif condition="$userLoan['auditProcessStatus'] eq 2"/}
                        <span style="color: red">审核不通过</span>
                        {/if}
                    </td>
                </tr>
                <tr>
                    <th>借款提交时间</th>
                    <td>{$userLoan['loanSubmitTime']}</td>
                </tr>
                <tr>
                    <th>借款发放时间</th>
                    <td>{$userLoan['loanArrangedTime']}</td>
                </tr>
                <tr>
                    <th>还款状态</th>
                    <td>
                        {if condition="$userLoan['loanRepayStatus'] eq 0"}
                        <span style="color: orangered">未产生还款</span>
                        {elseif condition="$userLoan['loanRepayStatus'] eq 1"/}
                        <span style="color: green">待还款</span>
                        {elseif condition="$userLoan['loanRepayStatus'] eq 2"/}
                        <span style="color: red">还款中</span>
                        {elseif condition="$userLoan['loanRepayStatus'] eq 3"/}
                        <span style="color: blue">还款完成</span>
                        {/if}
                    </td>
                </tr>
  <tr>
                    <th>审核费用</th>
                    <td>{$userLoan['auditFee']}</td>
                </tr>
  <tr>
                    <th>总计还款</th>
                    <td>{$userLoan['totalRepay']}</td>
                </tr>
  <tr>
                    <th>逾期费率</th>
                    <td>{$userLoan['overdueRate']}</td>
                </tr>
                <tr>
                    <th>创建时间</th>
                    <td>{$userLoan['createdAt']}</td>
                </tr>

                </tbody>
            </table>
        </div>
    </div>


</div>
